<table border="2">
	<th>No</th>
	<th>Place</th>
	<th>Product</th>
	<th>Quantity</th>
	<th>Status</th>
	<th>Action</th>
	
	<{foreach from=$productplaceList item=phantu}>
		<tr> 
			<td><{$phantu.propla_id}></td>
			<td> <{$phantu.pla_name}> </td>
			<td> <{$phantu.pro_name}> </td>
			<td> <{$phantu.propla_quantity}> </td>			
			<td> <{$phantu.propla_status}> </td>	
			
			<td> 
				<a href="<{$smarty.const.APPLICATION_URL}>
					productplace/editForm/<{$phantu.propla_id}>">					
					edit 
				</a>
				
				<{if $phantu.propla_status==1}>
					<a href="<{$smarty.const.APPLICATION_URL}>
					productplace/inactive/<{$phantu.propla_id}>">					
							Inactive					
					</a> 
				<{else}>
					<a href="<{$smarty.const.APPLICATION_URL}>
					productplace/active/<{$phantu.propla_id}>">					
							Active					
					</a> 
				<{/if}>
			</td>	
				
		</tr>
	<{/foreach}>
</table>